export default defineRoute(() => [
  {
    path: '/depositarios',
    component: Layouts.default,
    children: [
      {
        path: '',
        name: RN.DEPOSITARIOS,
        component: () => import('./index.vue'),
        async beforeEnter(to, from) {
          const hsData = await apis.apiActivityDepositCommissions(undefined);
          return hsData?.available ? true : from;
        },
      },
    ],
  },
]);
